function data=gcpick_removetrend(datain)
data=datain;
for i = 1:length(data)
    data(i).E = detrend(data(i).E);
    data(i).N = detrend(data(i).N);
    data(i).Z = detrend(data(i).Z);
end
end